﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="processSignup.aspx.cs" Inherits="ZEBuz.Questionnaire.Web.User.Signup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/Resources/Scripts/jquery.validate.js" type="text/javascript"></script>
    <script src="/Resources/Scripts/validation/localization/messages_cn.js" type="text/javascript"></script>
    <script src="/Scripts/processSignup.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" id="reglogin" border="1" cellpadding="5" cellspacing="5" style="border-collapse: collapse;">
        <tr>
            <td colspan='2'>
                <legend class="left">请输入您的基本信息</legend><span class="activeLink right" id="hasacct">已经注册</span>
            </td>
        </tr>
        <tr>
            <td valign="top">
                <table style="width: 100%;" cellpadding="4" cellspacing="4" id="signup">
                    <tr>
                        <td width="150">
                            <label for="userName">
                                真实姓名：</label>
                        </td>
                        <td>
                            <input type="text" id="userName" name="userName" required />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="email">
                                邮箱：</label>
                        </td>
                        <td>
                            <input type="email" id="email" name="email" placeholder="example@domain.com" required
                                size="35" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="password">
                                密码：</label>
                        </td>
                        <td>
                            <!--validator必须要有name属性-->
                            <input type="password" id="password" name="password" required minlength="6" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="confirm_password">
                                密码确认：</label>
                        </td>
                        <td>
                            <input type="password" id="confirm_password" name="confirm_password" required minlength="6" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="sex">
                                性别:</label>
                        </td>
                        <td>
                            <input type="radio" value="M" name="sex" required />男
                            <input type="radio" value="F" name="sex" required />女
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="age">
                                年龄：</label>
                        </td>
                        <td>
                            <input type="range" id="age" name="age" required />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="mage">
                                婚姻年限:</label>
                        </td>
                        <td>
                            <input type="range" id="mage" name="mage" required />
                            (未婚请填0)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="haschild">
                                是否有子女：</label>
                        </td>
                        <td>
                            <input type="radio" value="1" id="haschild1" name="haschild" checked="checked" />是
                            <input type="radio" value="0" id="haschild0" name="haschild" />否
                        </td>
                    </tr>
                </table>
                <table style="width: 100%;" cellpadding="4" cellspacing="4" id="signin">
                    <tr>
                        <td width="150">
                            <label for="email4login">
                                邮箱：</label>
                        </td>
                        <td>
                            <input type="email" id="email4login" name="email4login" placeholder="example@domain.com"
                                required />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="password4login">
                                密码：</label>
                        </td>
                        <td>
                            <input type="password" id="password4login" name="password4login" required minlength="6" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan='2'>
                <input type="submit" id="button" value="注册并查看结果" />
            </td>
        </tr>
    </table>
</asp:Content>